﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ListarDestinos.aspx.cs" Inherits="ABC_SA_WEB.ListarDestinos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <div class="formListas">
        <span style="color: #FFF; font-family: 'Allan', cursive;">Modificar Destinos</span>
        <br />
        <br />
        <div class="gridStyle">
            <asp:GridView ID="GrdDestino" runat="server"
                AllowPaging="True" OnPageIndexChanging="GrdDestino_PageIndexChanging"
                OnRowCancelingEdit="GrdDestino_RowCancelingEdit"
                OnRowEditing="GrdDestino_RowEditing" OnRowUpdated="GrdDestino_RowUpdated"
                OnRowUpdating="GrdDestino_RowUpdating" PageSize="5" AllowSorting="True"
                BorderStyle="Solid" BorderWidth="1px" AutoGenerateSelectButton="True"
                OnSelectedIndexChanged="GrdDestino_SelectedIndexChanged">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "~/Handler.ashx?ID="+ Eval("idDestino") %>' Height="70px" Width="65px" />
                        </ItemTemplate>
                    </asp:TemplateField>

                </Columns>
                <AlternatingRowStyle BackColor="Gainsboro" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#0000A9" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#000065" />

            </asp:GridView>
            <br />
        </div>
        <div class="buttonsContenerListar">
            <asp:Button CssClass="btn" ID="btnVolver" runat="server" OnClick="btnVolver_Click" Text="Volver" />
        </div>
    </div>
</asp:Content>
